﻿using System;
using System.Collections.Generic;

namespace SheepStorage.Domain.Entity
{
    /// <summary>
    /// 羊只淘汰表
    /// </summary>
    public partial class SheepOut
    {
        /// <summary>
        /// 主键 淘汰Id
        /// </summary>
        public int SheepOutId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string OverBit { get; set; } = null!;
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string ElEarTag { get; set; } = null!;
        /// <summary>
        /// 品种
        /// </summary>
        public int SheepOutVariety { get; set; }
        /// <summary>
        /// 是否离场
        /// </summary>
        public int LeaveNot { get; set; }
        /// <summary>
        /// 羊只类型(1-种公 2-种母 3-后裔)
        /// </summary>
        public int? SheepSaleType { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int ReproductiveState { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public string OutBuildingName { get; set; } = null!;
        /// <summary>
        /// 转出栏位
        /// </summary>
        public string OutSheepFieldName { get; set; } = null!;
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public string InBuildingName { get; set; } = null!;
        /// <summary>
        /// 转入栏位
        /// </summary>
        public string InSheepFieldName { get; set; } = null!;
        /// <summary>
        /// 淘汰原因
        /// </summary>
        public string SheepOutReason { get; set; } = null!;
        /// <summary>
        /// 处理措施
        /// </summary>
        public int SheepOutMeasure { get; set; }
        /// <summary>
        /// 淘汰日龄
        /// </summary>
        public int WeedOutDay { get; set; }
        /// <summary>
        /// 淘汰月龄
        /// </summary>
        public int WeedOutMonth { get; set; }
        /// <summary>
        /// 复核人
        /// </summary>
        public string ReviewerPeople { get; set; } = null!;
        /// <summary>
        /// 复核时间
        /// </summary>
        public string ReviewerTime { get; set; } = null!;
        /// <summary>
        /// 流水号
        /// </summary>
        public string? PurchaseSerialNumber { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 逻辑删 0未删 1已删
        /// </summary>
        public int? IsDel { get; set; }
    }
}
